<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>ipr服务平台</title>
		<link rel="stylesheet" href="/ipr-s/layui/css/layui.css" />
		<link rel="stylesheet" href="/ipr-s/css/global.css" />
		<script type="text/javascript" src="/ipr-s/layui/layui.js"></script>
	</head>

	<body>
		<div class="layui-header header header-doc" style="background-color: #009688!important;">
			<div class="layui-main">
				<a class="logo" href="/">
					<img src="/ipr-s/layui/css/modules/layer/default/loading-0.gif" />
				</a>
				<div class="layui-form component">
					<div class="layui-form-select">
						<div class="layui-form-select">
							<input type="text" placeholder="abc" value class="layui-input" />
							<i class="layui-edge"></i>
						</div>

					</div>
				</div>
				<ul class="layui-nav layui-bg-green">
					<li class="layui-nav-item layui-this">
						<a href="/doc/">文档
							<!--  -->
						</a>
					</li>
					<li class="layui-nav-item ">
						<a href="/demo/">示例
							<!-- <span class="layui-badge-dot"></span> --></a>
					</li>

					<li class="layui-nav-item layui-hide-xs">
						<a href="http://fly.layui.com/" target="_blank">社区</a>
					</li>

					<li class="layui-nav-item">
						<!--<span class="layui-badge-dot" style="margin: -4px 3px 0;"></span>-->
						<a href="javascript:;">周边</a>
						<dl class="layui-nav-child">
							<dd class="layui-hide-sm layui-show-xs">
								<a href="http://fly.layui.com/" target="_blank">社区交流</a>
								<hr>
							</dd>
							<dd>
								<a href="http://layim.layui.com/" target="_blank">即时聊天</a>
							</dd>
							<dd>
								<a href="/template/fly/" target="_blank">社区模板<span class="layui-badge-dot"></span></a>
							</dd>
							<hr>
							<dd>
								<a href="/alone.html" target="_blank">独立组件</a>
							</dd>
							<dd>
								<a href="http://fly.layui.com/jie/9842/" target="_blank">Axure组件</a>
							</dd>
						</dl>
					</li>

					<li class="layui-nav-item layui-hide-xs">
						<a href="/admin/" target="_blank">后台方案<span class="layui-badge-dot"></span></a>
					</li>

				</ul>
				<div class=" " style="position: absolute;right: -40px;color: white; padding: 20px;">
					<em>登陆</em>
				</div>
			</div>
		</div>
		</div>

		<div id="index-main" class="layui-container">

			<div class="layui-row">
				<div class="layui-col-md3">
					<div class="site-tree">
						<ul class="layui-tree">
							<li>
								<h2>测试一下</h2>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li>
								<h2>突然分割</h2>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
						</ul>

					</div>

				</div>
				<div class="layui-col-md9" style="padding-top: 20px;">

					<form class="layui-form">
						<!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
						<div class="layui-form-item">
							<label class="layui-form-label">公司名</label>
							<div class="layui-input-block">
								<input type="text" name="" placeholder="请输入" autocomplete="off" class="layui-input">
							</div>
						</div>
						<!--<div class="layui-form-item">
							<label class="layui-form-label">下拉选择框</label>
							<div class="layui-input-block">
								<select name="interest" lay-filter="aihao">
									<option value="0">写作</option>
									<option value="1">阅读</option>
								</select>
							</div>
						</div>-->
						<div class="layui-form-item">
							<label class="layui-form-label">法定人</label>
							<div class="layui-input-block">
								<input type="text" name="" placeholder="请输入" autocomplete="off" class="layui-input">
							</div>
						</div>
						<!--<div class="layui-form-item">
							<label class="layui-form-label">复选框</label>
							<div class="layui-input-block">
								<input type="checkbox" name="like[write]" title="写作">
								<input type="checkbox" name="like[read]" title="阅读">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">开关关</label>
							<div class="layui-input-block">
								<input type="checkbox" lay-skin="switch">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">开关开</label>
							<div class="layui-input-block">
								<input type="checkbox" checked lay-skin="switch">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">单选框</label>
							<div class="layui-input-block">
								<input type="radio" name="sex" value="0" title="男">
								<input type="radio" name="sex" value="1" title="女" checked>
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">请填写描述</label>
							<div class="layui-input-block">
								<textarea placeholder="请输入内容" class="layui-textarea"></textarea>
							</div>
						</div>-->
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label"> </label>
							<div class="layui-input-block">
						<button type="button" class="layui-btn" id="test1">
  						<i class="layui-icon">&#xe67c;</i>上传资料</button>
</div>
</div>
						<!-- <script src="/static/build/layui.js"></script> -->
						<script>
							layui.use('upload', function() {
								var upload = layui.upload;

								//执行实例
								var uploadInst = upload.render({
									elem: '#test1' //绑定元素
										,
									url: '/ipr-s/applyEAccountFile' //上传接口
										,
									done: function(res) {
										 layui.use('layer',function(){
										
										var layer = layui.layer;
										/* layer.open({
											type:2,
											content:res.msg
										}); */
										layer.msg(res.msg);
										
									})  
										//上传完毕回调
									},
									error: function() {
										//请求异常回调
									}
								});
							});
						</script>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<button class="layui-btn" lay-submit lay-filter="*"> 申 请 </button>
								<button type="reset" class="layui-btn layui-btn-primary">重置</button>
							</div>
						</div>
						<!-- 更多表单结构排版请移步文档左侧【页面元素-表单】一项阅览 -->
					</form>
					<!-- <script src="layui.js"></script> -->
					<script>
						layui.use('form', function() {
							var form = layui.form;

							//各种基于事件的操作，下面会有进一步介绍
						});
					</script>
					<hr class="layui-bg-red">
					<blockquote class="layui-elem-quote">上传资料注意事项：</blockquote>
					<blockquote class="layui-elem-quote layui-quote-nm">你可以通过下载示例文档来获取帮助。</blockquote>
					<blockquote class="layui-elem-quote layui-quote-nm"><img src = "/ipr-s/img/Microsoft_Word_32px.png"/><a href="/ipr-s/css/global.css" download="示例文档.docx" style="color: red;">示例文档</a></blockquote>
				</div>
				
				
			</div>
				
			<script>
				//注意：导航 依赖 element 模块，否则无法进行功能性操作
				 layui.use('element', function() {
					var element = layui.element;

					//…
				});
				/*layui.use('layer',function(){
					
					var layer = layui.layer;
					layer.open({
						type:2,
						content:['login.html','no']
					});
					
				}) */
			</script>
	</body>

</html>